package video.domain.repository;

import video.domain.model.Video;

import java.util.List;
import java.util.Optional;

public interface VideoRepository {
    Video save(Video video);
    void deleteById(Long videoId);
    Optional<Video> findById(Long videoId);
    List<Video> findAll();
    List<Video> findByIsDeletedFalseOrderByCreateTimeDesc(); // 和 user 的 findAll 一致
}
